package com.ynet.hmds28.user.dao;

import com.ynet.hmds28.user.model.Platflow;
import com.ynet.hmds28.user.model.PlatflowQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PlatflowDao {
	
	  //开启GTS事务
	public void enableTXC();
	
    int countByExample(PlatflowQuery example);

    int deleteByExample(PlatflowQuery example);

    int deleteByPrimaryKey(String platflowid);

    int insert(Platflow record);

    int insertSelective(Platflow record);

    List<Platflow> selectByExample(PlatflowQuery example);

    Platflow selectByPrimaryKey(String platflowid);

    int updateByExampleSelective(@Param("record") Platflow record, @Param("example") PlatflowQuery example);

    int updateByExample(@Param("record") Platflow record, @Param("example") PlatflowQuery example);

    int updateByPrimaryKeySelective(Platflow record);

    int updateByPrimaryKey(Platflow record);
}